package com.qf.java2201.edu.userservice.token;

import com.qf.java2201.edu.userservice.dto.Token;
import com.qf.java2201.edu.userservice.web.model.LoginUser;

/**
 * @date 2022/6/5
 * @desc
 */
public interface TokenService {

    Token saveToken(LoginUser loginUser);

    void refresh(LoginUser loginUser);

    LoginUser getLoginUser(String token);

    boolean deleteToken(String token);

}
